import request from './request'

//请求首页轮播图数据
const getMultiData = ()=>{
    return request({
       url:'/home/multidata'
    })
}

//请求首页商品数据
const getHomeGoods = (type,page)=>{
    return request({
        url:'/home/data',
        params:{
            type,
            page
        }
    })
}

export default {
    getMultiData,
    getHomeGoods
}